package main

import (
	"fmt"
	"renting-demo/model/mysql"
)

func main() {
	product := mysql.Pruduct{
		GoodsName:   "张怀民",
		GoodsPrice:  99,
		GoodsStock:  100,
		GoodsImages: "https://img2.baidu.com/it/u=39599820,2798830009&fm=253&fmt=auto&app=138&f=JPEG?w=332&h=499",
		Status:      1,
	}
	res := mysql.CreatePruduct(product)
	fmt.Println(res)
}
